<?php

declare(strict_types=1);

namespace Service\ConfigService;

use App\Model\BbcModel\Bank;
use Service\BaseService;
use Service\Code\Normal;

class BankService extends BaseService
{
    /**
     * 获取银行列表
     * @return array
     */
    public function getBankList()
    {
        $list = Bank::instance()->lists();
        return Normal::returnCode(Normal::SUC, '请求成功', $list);
    }
}
